package com.IR.user.service;

import java.util.Date;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.IR.shop.mapper.MusicMapper;
import com.IR.shop.po.Music;
import com.IR.shop.po.MusicExample;

@Service
public class BMusicBiz {
	@Resource
	public MusicMapper mapper;
	
	public List<Music> showMusic() {
		MusicExample example=new MusicExample();
		MusicExample.Criteria c=example.createCriteria();
		c.andMusicdateEqualTo(new Date());
		return mapper.selectByExample(example);	
	}
}
